# Maintainer: Alexey Pavlov <alexpux@gmail.com>

pkgbase=python2-fastimport
pkgname=('python2-fastimport')
pkgver=0.9.8
pkgrel=1
pkgdesc="VCS fastimport/fastexport parser"
arch=('any')
license=('GPL')
url="https://pypi.python.org/pypi/fastimport/"
makedepends=('python2-distutils-extra')
_dtoken="aa/65/47a579aae80fbd8b89cfbdffcde8dff68d57e3148b99da6a326673021455"
source=(https://files.pythonhosted.org/packages/${_dtoken}/fastimport-${pkgver}.tar.gz)
sha256sums=('b2f2e8eb97000256e1aab83d2a0a053fc7b93c3aa4f7e9b971a5703dfc5963b9')

package() {
  depends=('python2>=2.7')

  cd "${srcdir}/fastimport-${pkgver}"
  python2 setup.py install --root="${pkgdir}" --optimize=1
}
